<form action="" class="form-horizontal" data-toggle="validator" id="add-form" method="POST" role="form">
  <div class="form-group basic_info">
    <div class="col-xs-12 col-sm-8">
      <span class="col-xs-12">累计延期时长不得超过12个月，当前可延期时长剩余12月</span>
    </div>
  </div>
  <input type="hidden" name="row[order_id]" value="{$row.order_id}">
  <div class="form-group basic_info">
    <label class="control-label col-xs-12 col-sm-2"><span style="color: red">*</span>延期原因:</label>
    <div class="col-xs-12 col-sm-8">
      {:build_radios('row[reason_delay]', [1=>'施工', 2=>'维修',3=>'其它'])}
    </div>
  </div>
  <div class="form-group basic_info">
    <label class="control-label col-xs-12 col-sm-2" for="delay_time"><span style="color: red">*</span>开始延期时间:</label>
    <div class="col-xs-12 col-sm-8">
      <input class="form-control datetimepicker" data-date-format="YYYY-MM-DD" data-rule="required"
             data-use-current="true" name="row[delay_time]" type="text" value="">
    </div>
  </div>
  <div class="form-group">
    <label class="control-label col-xs-12 col-sm-2">延期时长:</label>
    <div class="col-xs-12 col-sm-8">
      <input class="form-control" style="width: 50%" data-rule="required" name="row[reason_moth]"
             type="number"><span class="">月</span>
    </div>
  </div>

  <div class="form-group layer-footer">
    <label class="control-label col-xs-12 col-sm-2"></label>
    <div class="col-xs-12 col-sm-8">
      <button class="btn btn-success btn-embossed " type="submit">{:__('OK')}</button>
      <button class="btn btn-default btn-embossed" type="reset">{:__('Reset')}</button>
    </div>
  </div>
</form>
